package com.vincent.common.constant;

/**
 * @author Vincent
 * @version 1.0
 * @description 结果码常量
 */
public class ResultCode {
    /**
     * 验证码失效
     */
    public static final int AUTHCODE_OUT_DATE_ERROR=20010001;
    /**
     * 验证码错误
     */
    public static final int AUTHCODE_NOT_EQUAL_ERROR =20010002;
    /**
     * 用户名已存在
     */
    public static final int USERNAME_EXIST_ERROR=20010003;
    /**
     * Email已存在
     */
    public static final int EMAIL_EXIST_ERROR=20010004;
    /**
     * 帐号注册成功
     */
    public static final int USER_ENROLL_SUCCESS=10010001;
    /**
     * 登录成功
     */
    public static final int USER_LOGIN_SUCCESS=10010002;
    /**
     * 忘记密码邮件发送成功
     */
    public static final int FPW_EMAIL_SEND_SUCCESS=10010003;
    /**
     * 用户名或者密码错误
     */
    public static final int USERNAME_OR_PASSWORD_ERROR=20010005;

    /**
     * 用户名和Email不匹配
     */
    public static final int USERNAME_AND_EMAIL_NOT_MATCH_ERROR=20010006;
}
